package com.followmeandroid.tests;

import android.content.Intent;
import android.test.ActivityUnitTestCase;
import android.test.suitebuilder.annotation.MediumTest;
import android.widget.Button;

import com.followmeandroid.FriendListActivity;
import com.followmeandroid.R;

/**
 * Created by Nicholas on 11/25/2014.
 */
public class FriendListActivityTests extends ActivityUnitTestCase<FriendListActivity> {
    public FriendListActivityTests(){
        super(FriendListActivity.class);
    }

    @Override
    protected void setUp() throws Exception {
        super.setUp();
        Intent mLaunchIntent = new Intent(getInstrumentation().getTargetContext(), FriendListActivity.class);
        startActivity(mLaunchIntent, null, null);
    }
/*
    @MediumTest
    public void testFriendSearchWasStartedWithIntent(){
        final Button searchFriendsButton = (Button)getActivity().findViewById(R.id.addFriendBtn);
        searchFriendsButton.performClick();

        final Intent launchIntent = getStartedActivityIntent();
        assertNotNull("Intent was null", launchIntent);
    }
*/
    @Override
    protected void tearDown() throws Exception {

        super.tearDown();
    }
}
